package cn.itsource.service;

import cn.itsource.common.AjaxResult;
import cn.itsource.common.PageResult;
import cn.itsource.domain.TEmployee;
import cn.itsource.query.EmployeeQuery;

import java.util.List;

/**
 * Effect:
 * date: 2022/1/13 19:21
 *
 * @author wangyu
 * @since JDK 1.8
 */
public interface IEmployeeService {
    List<TEmployee> findAll();

    List<TEmployee> findEmpList();


    PageResult<TEmployee> findByQuery(EmployeeQuery employeeQuery);

    AjaxResult del(Long id);

    AjaxResult saveAndUpt(TEmployee employee);

    TEmployee findEmpById(Long id);
}
